Optimal. Leaf size=46 \[ \frac {\sqrt {d^2-e^2 x^2}}{e}+\frac {d \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {679, 223, 209}
\begin {gather*} \frac {d \text {ArcTan}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e}+\frac {\sqrt {d^2-e^2 x^2}}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 223
Rule 679
Rubi steps
\begin {align*} \int \frac {\sqrt {d^2-e^2 x^2}}{d+e x} \, dx &=\frac {\sqrt {d^2-e^2 x^2}}{e}+d \int \frac {1}{\sqrt {d^2-e^2 x^2}} \, dx\\ &=\frac {\sqrt {d^2-e^2 x^2}}{e}+d \text {Subst}\left (\int \frac {1}{1+e^2 x^2} \, dx,x,\frac {x}{\sqrt {d^2-e^2 x^2}}\right )\\ &=\frac {\sqrt {d^2-e^2 x^2}}{e}+\frac {d \tan ^{-1}\left (\frac {e x}{\sqrt {d^2-e^2 x^2}}\right )}{e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.11, size = 63, normalized size = 1.37 \begin {gather*} \frac {\sqrt {d^2-e^2 x^2}}{e}-\frac {d \log \left (-\sqrt {-e^2} x+\sqrt {d^2-e^2 x^2}\right )}{\sqrt {-e^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 78, normalized size = 1.70
method | result | size |
risch | \(\frac {\sqrt {-e^{2} x^{2}+d^{2}}}{e}+\frac {d \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-e^{2} x^{2}+d^{2}}}\right )}{\sqrt {e^{2}}}\) | \(49\) |
default | \(\frac {\sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}+\frac {d e \arctan \left (\frac {\sqrt {e^{2}}\, x}{\sqrt {-\left (x +\frac {d}{e}\right )^{2} e^{2}+2 d e \left (x +\frac {d}{e}\right )}}\right )}{\sqrt {e^{2}}}}{e}\) | \(78\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.49, size = 29, normalized size = 0.63 \begin {gather*} d \arcsin \left (\frac {x e}{d}\right ) e^{\left (-1\right )} + \sqrt {-x^{2} e^{2} + d^{2}} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 4.63, size = 48, normalized size = 1.04 \begin {gather*} -{\left (2 \, d \arctan \left (-\frac {{\left (d - \sqrt {-x^{2} e^{2} + d^{2}}\right )} e^{\left (-1\right )}}{x}\right ) - \sqrt {-x^{2} e^{2} + d^{2}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- \left (- d + e x\right ) \left (d + e x\right )}}{d + e x}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.34, size = 31, normalized size = 0.67 \begin {gather*} d \arcsin \left (\frac {x e}{d}\right ) e^{\left (-1\right )} \mathrm {sgn}\left (d\right ) + \sqrt {-x^{2} e^{2} + d^{2}} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {\sqrt {d^2-e^2\,x^2}}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________